// import { storiesOf } from '@storybook/vue'
import {
  withKnobs,
  //  text,
  //  number,
  //  array
} from '@storybook/addon-knobs'
import { withActions } from '@storybook/addon-actions'
import { withA11y } from '@storybook/addon-a11y'
import StoryRouter from 'storybook-vue-router'
// 这里导入你自己的组件，
import UploadImg from './Index.vue'

export default {
  title: 'UploadImg',
  decorators: [withA11y, withKnobs, withActions(), StoryRouter()],
  parameters: {
    notes: `
    `,
  },
}

export const asAComponent = () => ({
  components: { UploadImg },
  props: {
  },
  template: `
    <UploadImg></UploadImg>
  `
})
